package vo;

public class SaleVO {
	
	private String saleNo;
	private String stockNo;
	private String productName;
	private String product;
	private long quantity;
	private long saleQuantity;
	private long amount;
	private long unitCost;
	private long saleCost;
	private String customer;
	private String customerName;
	private int useMileage;
	private String saleDate;
	private String stockDate;
	private String vendorName;
	private String info;
	
	public SaleVO() {}

	public SaleVO(String saleNo, String stockNo, String productName,
			String product, long quantity, long saleQuantity, long amount,
			long unitCost, long saleCost, String customer, String customerName,
			int useMileage, String saleDate, String stockDate,
			String vendorName, String info) {
		super();
		this.saleNo = saleNo;
		this.stockNo = stockNo;
		this.productName = productName;
		this.product = product;
		this.quantity = quantity;
		this.saleQuantity = saleQuantity;
		this.amount = amount;
		this.unitCost = unitCost;
		this.saleCost = saleCost;
		this.customer = customer;
		this.customerName = customerName;
		this.useMileage = useMileage;
		this.saleDate = saleDate;
		this.stockDate = stockDate;
		this.vendorName = vendorName;
		this.info = info;
	}

	public SaleVO(String stockNo, String productName, long quantity,
			long unitCost, String customer, int useMileage, String info) {
		super();
		this.stockNo = stockNo;
		this.productName = productName;
		this.quantity = quantity;
		this.unitCost = unitCost;
		this.customer = customer;
		this.useMileage = useMileage;
		this.info = info;
	}

	public String getSaleNo() {
		return saleNo;
	}

	public void setSaleNo(String saleNo) {
		this.saleNo = saleNo;
	}

	public String getStockNo() {
		return stockNo;
	}

	public void setStockNo(String stockNo) {
		this.stockNo = stockNo;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProduct() {
		return product;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	public long getQuantity() {
		return quantity;
	}

	public void setQuantity(long quantity) {
		this.quantity = quantity;
	}
	
	public long getSaleQuantity() {
		return saleQuantity;
	}

	public void setSaleQuantity(long saleQuantity) {
		this.saleQuantity = saleQuantity;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(long amount) {
		this.amount = amount;
	}

	public long getUnitCost() {
		return unitCost;
	}

	public void setUnitCost(long unitCost) {
		this.unitCost = unitCost;
	}

	public long getSaleCost() {
		return saleCost;
	}

	public void setSaleCost(long saleCost) {
		this.saleCost = saleCost;
	}

	public int getUseMileage() {
		return useMileage;
	}

	public void setUseMileage(int useMileage) {
		this.useMileage = useMileage;
	}

	public String getSaleDate() {
		return saleDate;
	}

	public void setSaleDate(String saleDate) {
		this.saleDate = saleDate;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomer() {
		return customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public String getStockDate() {
		return stockDate;
	}

	public void setStockDate(String stockDate) {
		this.stockDate = stockDate;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	@Override
	public String toString() {
		return "SaleVO [amount=" + amount + ", customer=" + customer
				+ ", customerName=" + customerName + ", info=" + info
				+ ", product=" + product + ", productName=" + productName
				+ ", quantity=" + quantity + ", saleCost=" + saleCost
				+ ", saleDate=" + saleDate + ", saleNo=" + saleNo
				+ ", saleQuantity=" + saleQuantity + ", stockDate=" + stockDate
				+ ", stockNo=" + stockNo + ", unitCost=" + unitCost
				+ ", useMileage=" + useMileage + ", vendorName=" + vendorName
				+ "]";
	}

}
